package com.crm.service.activityManager;


import com.crm.model.entity.activityManager.CustomerProductActivityRelation;

import java.util.List;

/**
 * @author luojie
 * @date 2021/2/23 11:23
 */
public interface CustomerProductActivityRelationDbService {

    /**
     * 添加活动产品关系
     * @param customerProductActivityRelation
     * @return
     */
    Boolean insertProductActivityRelation(CustomerProductActivityRelation customerProductActivityRelation);

    /**
     * 活动编辑-查询已经选中的产品
     * @param activityId
     * @return
     */
    List<CustomerProductActivityRelation> selectProductDropDownSelectedListByActivityId(String activityId);

    /**
     * 删除活动产品对应关系
     * @param activityId
     * @return
     */
    Boolean deleteActivityRelationByActivityId(String activityId);
}
